//
//  My1A2BAppDelegate.h
//  My1A2B
//
//  Created by sun ives on 2009/12/28.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeViewController.h"
#import "PlayViewController.h"
#import "HistoryTableViewController.h"
#import "Core.h"


@interface My1A2BAppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
	UINavigationController *navigationController;
	UIView *backgroundView;
    HomeViewController *homeViewController;
	PlayViewController *playViewController;
	HistoryTableViewController *historyTableViewController;
	Core *core;
	strGame * m_GameCurr;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UINavigationController *navigationController;
@property (nonatomic, retain) IBOutlet HomeViewController *homeViewController;
@property (nonatomic, retain) IBOutlet PlayViewController *playViewController;
@property (nonatomic, retain) IBOutlet HistoryTableViewController *historyTableViewController;
@property (nonatomic, retain) UIView *backgroundView;
@property (nonatomic, retain) Core *core;

- (void)loadHistory;
- (NSString *)getXMLPath;
- (void)writeXML;

@end

